]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
croco: Remove functions declarations only
authorBilal Elmoussaoui <belmouss@redhat.com>
Tue, 14 Apr 2026 17:27:29 +0000 (19:27 +0200)
committerBilal Elmoussaoui <belmouss@redhat.com>
Tue, 14 Apr 2026 17:27:29 +0000 (19:27 +0200)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4176>

src/st/croco/cr-simple-sel.h
src/st/croco/cr-statement.h

index 691b4d9433a4ddaf2694780f99e6d2d261b769e8..c0a8091ca58acb851aaa068a3122591938e642d4 100644 (file)
@@ -55,12 +55,12 @@ typedef struct _CRSimpleSel CRSimpleSel ;
 
 /**
  *The abstraction of a css2 simple selection list
- *as defined by the right part of the "selector" production in the 
+ *as defined by the right part of the "selector" production in the
  *appendix D.1 of the css2 spec.
  *It is basically a list of simple selector, each
  *simple selector being separated by a combinator.
  *
- *In the libcroco's implementation, each simple selector 
+ *In the libcroco's implementation, each simple selector
  *is made of at most two parts:
  *
  *1/An element name or 'type selector' (which can hold a '*' and
@@ -105,10 +105,10 @@ struct _CRSimpleSel
 
 CRSimpleSel * cr_simple_sel_new (void) ;
 
-CRSimpleSel * cr_simple_sel_append_simple_sel (CRSimpleSel *a_this, 
+CRSimpleSel * cr_simple_sel_append_simple_sel (CRSimpleSel *a_this,
                                                CRSimpleSel *a_sel) ;
 
-CRSimpleSel * cr_simple_sel_prepend_simple_sel (CRSimpleSel *a_this, 
+CRSimpleSel * cr_simple_sel_prepend_simple_sel (CRSimpleSel *a_this,
                                                 CRSimpleSel *a_sel) ;
 
 guchar * cr_simple_sel_to_string (CRSimpleSel const *a_this) ;
@@ -117,8 +117,6 @@ guchar * cr_simple_sel_one_to_string (CRSimpleSel const * a_this) ;
 
 enum CRStatus cr_simple_sel_dump (CRSimpleSel const *a_this, FILE *a_fp) ;
 
-enum CRStatus cr_simple_sel_dump_attr_sel_list (CRSimpleSel const *a_this) ;
-
 enum CRStatus cr_simple_sel_compute_specificity (CRSimpleSel *a_this) ;
 
 void cr_simple_sel_destroy (CRSimpleSel *a_this) ;
index 58fe6a3676973779ccb59032320901a6daf88265..63b19a4c050a1af53e29d8e475ebd5f878a02a6d 100644 (file)
@@ -16,7 +16,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  * USA
- * 
+ *
  * Author: Dodji Seketeli
  * See COPYRIGHTS file for copyright information.
  */
@@ -44,8 +44,8 @@ G_BEGIN_DECLS
 struct _CRStatement ;
 
 /*
- *typedef struct _CRStatement CRStatement ; 
- *this is forward declared in 
+ *typedef struct _CRStatement CRStatement ;
+ *this is forward declared in
  *cr-declaration.h already.
  */
 
@@ -66,7 +66,7 @@ struct _CRRuleSet
 
        /**A list of instances of #CRDeclaration*/
        CRDeclaration *decl_list ;
-       
+
        /**
         *The parent media rule, or NULL if
         *no parent media rule exists.
@@ -105,7 +105,7 @@ struct _CRAtImportRule
 struct _CRAtMediaRule
 {
        GList *media_list ;
-       CRStatement *rulesets ; 
+       CRStatement *rulesets ;
 } ;
 
 
@@ -218,7 +218,7 @@ struct _CRStatement
          *applications that use libcroco.
          *libcroco itself will never modify
          *this pointer.
-         */        
+         */
         gpointer app_data ;
 
         /**
@@ -240,7 +240,7 @@ cr_statement_parse_from_buf (const guchar *a_buf,
                             enum CREncoding a_encoding) ;
 CRStatement*
 cr_statement_new_ruleset (CRStyleSheet *a_sheet,
-                          CRSelector *a_sel_list, 
+                          CRSelector *a_sel_list,
                          CRDeclaration *a_decl_list,
                          CRStatement *a_media_rule) ;
 CRStatement *
@@ -290,11 +290,11 @@ cr_statement_at_page_rule_parse_from_buf (const guchar *a_buf,
                                          enum CREncoding a_encoding)  ;
 
 enum CRStatus
-cr_statement_set_parent_sheet (CRStatement *a_this, 
+cr_statement_set_parent_sheet (CRStatement *a_this,
                                CRStyleSheet *a_sheet) ;
 
 enum CRStatus
-cr_statement_get_parent_sheet (CRStatement *a_this, 
+cr_statement_get_parent_sheet (CRStatement *a_this,
                                CRStyleSheet **a_sheet) ;
 
 CRStatement *
@@ -354,14 +354,6 @@ cr_statement_at_media_nr_rules (CRStatement const *a_this) ;
 CRStatement *
 cr_statement_at_media_get_from_list (CRStatement *a_this, int itemnr) ;
 
-enum CRStatus
-cr_statement_at_page_rule_set_sel (CRStatement *a_this,
-                                  CRSelector *a_sel) ;
-
-enum CRStatus
-cr_statement_at_page_rule_get_sel (CRStatement const *a_this,
-                                  CRSelector **a_sel) ;
-
 enum CRStatus
 cr_statement_at_page_rule_set_declarations (CRStatement *a_this,
                                            CRDeclaration *a_decl_list) ;
@@ -421,7 +413,7 @@ cr_statement_dump_media_rule (CRStatement const * a_this,
 
 void
 cr_statement_dump_import_rule (CRStatement const * a_this, FILE * a_fp,
-                               gulong a_indent) ; 
+                               gulong a_indent) ;
 void
 cr_statement_dump_charset (CRStatement const * a_this, FILE * a_fp,
                            gulong a_indent) ;